import { createBrowserRouter, Navigate } from 'react-router-dom'
import HomeView from '../views/HomeView'
import AboutView from '../views/AboutView'

const router = createBrowserRouter([
  {
    path: '/',
    element: <Navigate to="/app3/home" replace />,
  },
  {
    path: '/app3/home',
    element: <HomeView />,
  },
  {
    path: '/app3/about',
    element: <AboutView />,
  },
])

export default router